﻿using Puppy.Domain.Repositories.MemoryDb;
using Puppy.TestApp.Domain;
using System;
using System.Collections.Generic;

namespace Puppy.MemoryDb
{
    public class TestAppMemoryDbContext : MemoryDbContext
    {
        private static readonly Type[] EntityTypeList = {
            typeof(Person),
            typeof(EntityWithIntPk)
        };

        public override IReadOnlyList<Type> GetEntityTypes()
        {
            return EntityTypeList;
        }
    }
}
